<?php
class photoalbum_index extends SClass {

    public function process() {
        $table = new Shop_ContentTable(new Datasource_Photoalbum());

        $field = new Forms_ContentFieldControlLink('name', 'admin-photoalbum-control', 'id');
        $field->setName('Название');
        $table->setField($field);

        $this->setValue('table', $table->render());
    }

}